import { fetchGet, fetchPost ,fetchFile} from "../utils/http.js";

/**
 * 获取something
 */
export const fnGetUserData = (param) => {
  return fetchPost("User/index", param);
};

export const fnGetUserAvatar = (file) => {
  return fetchFile("User/avatar", file);
};

export default {
    fnGetUserData,
    fnGetUserAvatar
}
